SET(FEM_SRCS
    getopt.h
    getopt.c
    Types.h
    Types.cpp
    Vector.cpp
    Vector.h
    Matrix.cpp
    Matrix.h
    Array.h
    Array.cpp
    PArray.h
    BinSearch.h
    BigVector.h
    BigVector.cpp
    Node.h
    Node.cpp
    Simplex.h
    Simplex.cpp
    TopologicalObject.h
    TopologicalObject.cpp
    Triangle.h
    Triangle.cpp
    UnionFind.h
    UnionFind.cpp
    Ray.h
    Ray.cpp
    Setting.h
    Setting.cpp
    Mechanics.h
    SimpleSpring.cpp
    TetrahedronState.h
    TetrahedronState.cpp
    SweepDescription.h
    SweepDescription.cpp
    TopologicalModel.h
    TopologicalModel.cpp
    Tetrahedron.h
    Tetrahedron.cpp
    Component.h
    Component.cpp
    Scenario.h
    Scenario.cpp
    ModelIO.h
    ModelIO.cpp
    DeformationState.h
    DeformationState.cpp
    TopologicalOperation.h
    TopologicalOperation.cpp
    DynamicDeformationState.h
    DynamicDeformationState.cpp
    Statistics.h
    Statistics.cpp
    FEMModel.h
    FEMModel.cpp
    Trackball.h
    Trackball.cpp
    SurfaceSelector.h
    SurfaceSelector.cpp
    TetrahedronIntersection.h
    TetrahedronIntersection.cpp
    ClosestVertexSelector.h
    ClosestVertexSelector.cpp
    CutPerformer.h
    CutPerformer.cpp
    MISC.h
    MISC.cpp
    FEMDrawer.h
    FEMDrawer.cpp
    EdgeIntersection.h
    EdgeIntersection.cpp
    Collapse.h
    Collapse.cpp
    CubeGenerator.h
    CubeGenerator.cpp
    GLUTInterface.h
    GLUTInterface.cpp
    InitForce.h
    InitForce.cpp
    Main.h
    Main.cpp
    MeshImprove.cpp
    MyAlloc.cpp
    CollapseEdge.cpp
    Bounding.cpp
    Cells.cpp
    LinearGeometry.cpp
    LinearMaterial.cpp
    Adjacency.cpp
    ConsistentVerondaForce.cpp
    NeoHookean.cpp
    VerondaMaterial.cpp
    PicinbonoMaterial.cpp
    IterationState.h
    IterationState.cpp
    StaticDeformationState.h
    StaticDeformationState.cpp
    LinearCGState.h
    LinearCGState.cpp
    NonlinearCGState.h
    NonlinearCGState.cpp
    IncrementalNewtonSolver.h
    IncrementalNewtonSolver.cpp
    IncrementalForceIteration.h
    IncrementalForceIteration.cpp
  )


  # C++ library for the InterfaceManagers
  ADD_LIBRARY(FEM ${YukiFEM_LIBS_STYLE}
  ${FEM_SRCS}
  )
  